<template>
	<view class="container">
		<view v-for="(item, index) in list" class="item" :key="index" @click="itemClick(item)">
			<u-image width="100%" height="300rpx"></u-image>
			<view class="title">4.2.1.1.4.1_共享产品_宝宝礼物盒_1-</view>
			<view class="description">
				12m_1m_游戏本
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: 'GiftBox',
		data() {
			return {
				list: [{},{},{}]
			}
		},
	}
</script>

<style lang="scss">
	.container{
		display: flex;
		flex-direction: column;
		
		.item{
			border-radius: 20rpx;
			background-color: #FFFFFF;
			margin: $app-page-padding;
			padding: $app-page-padding;
			
			display: flex;
			flex-direction: column;

			.title{
				margin-top: 10rpx;
				color: $app-font-color;
				font-size: 30rpx;
				font-weight: bold;
			}
			.description{
				margin-top: 10rpx;
				color: $app-font-desc-color;
				font-size: 26rpx;
			}
		}
	}
</style>